﻿<!--{inc(header.view.html)}-->

<div class="header">    
  
                       <div class="nav">
	                                 <ul id="nav_list">
                                                 <li><a href="index.php?app={$appname}&act=index"  target="mainframe">{$modulename}信息列表</a></li>
                                                 <li><a href="index.php?app={$appname}&act=add"  target="mainframe">{$modulename}信息增加</a></li>
                                                 <li><a href="index.php?app={$appname}&act=cagrylist"  target="mainframe">{$modulename}分类列表</a></li>
                                                 <li><a href="#" class="nav_icon" target="mainframe">{$modulename}分类增加</a></li>
												 				 
												 
	                                 </ul>
                       </div>
                
</div>



<div id="content">
                   <h1>{$modulename}分类增加</h1>

                  <div>
                                    <div class="tips_show"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b>
                                                                  <span ></span>
                                    </div>


                                   
                                   
                                   
                                   
  <form  method="post" action="?app={$appname}&act=cyaddpost">

<table width="100%" cellspacing="0" cellpadding="4" border="0" align="center" class="table_style">
<tbody>

            <tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
				<td width="20%"><span class="bold">上级分类：</span></td>
				<td>                                
                    <select name="data[parent_id]" >
				    <option value="0">顶级分类</option>
                         {$catgystr}
					</select>       
                                
               </td>
			</tr>
            
			<tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
				<td><span class="bold">分类名称：</span></td>
				<td><input  type="text" name="data[cat_name]" value="" /> <span>*</span></td>
			</tr>

			<tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
				<td><span class="bold">分类名称拼音：</span></td>
				<td><input  type="text" name="data[pinyin]" value="" /> <span>*</span></td>
			</tr>				
			
			<tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
				<td><span class="bold">分类排序：</span></td>
				<td><input  type="text" name="data[sort_order]" value="0" style="width:60px" /> <span>*</span></td>
			</tr>

			<tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
				<td><span class="bold">模块的列表模板:</span></td>
				<td>
    	                                 <select name="data[viewname]" >
 		                                       <option  value="0">请选择...</option>                                        
                                          <?php foreach((array)$viewdata as $_key => $_value ) { ?>                                       
		                                       <option  value="{$_value}">{$_value}</option>                                       
		                                   <?php } ?>
	                                     </select>
                <span>*</span>
               </td>
			</tr> 

			<tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
				<td><span class="bold">模块的显示模板:</span></td>
				<td>
    	                                 <select name="data[viewshowname]" >
 		                                       <option  value="0">请选择...</option>                                        
                                          <?php foreach((array)$viewdata as $_key => $_value ) { ?>                                          
		                                       <option  value="{$_value}">{$_value}</option>                                       
		                                  <?php } ?>
	                                     </select>
                <span>*</span>
               </td>
			</tr> 
			
<tr>
	<td></td>
	<td><input type="hidden" name="data[type]" value="{$appname}" /><input type="submit"  value=" 提 交 " class="buton"></td>
</tr>
</tbody></table>
</form>                                 
                                   
                                   
                                   
                                   
                                   
                                   
                                   
                                   
                                   
                                   
                                   
                                   
                                   

                 </div>

</div>



<!--{inc(footer.view.html)}-->